package com.xiangxiao.rpan.authority.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author xiangxiao
 * email: 573768011@qq.com
 * date: 2022/11/4 10:45
 */
@Data
public class LoginDto implements Serializable {

  private static final long serialVersionUID = -6558684437495703830L;

  private String errorInfo;

  @NotBlank(message = "系统代号不能为空")
  private String logo;

  @NotBlank(message = "用户名不能为空")
  private String username;

  @NotBlank(message = "密码不能为空")
  private String passwd;

  @NotBlank(message = "验证码不能为空")
  private String validateCode;
}
